<%@page isELIgnored="false" %>
<%@ include file="/WEB-INF/views/common/includes.jsp"%>

<div id="menubar">
	<sec:authorize ifAnyGranted="ROLE_USER">
		<p>Bienvenido: <authz:authentication property="principal.username" /></p>
	</sec:authorize>
	<sec:authorize access="!isAuthenticated()">
		<p>USUARIO NO AUTENTICADO <a href="/app/m4fauth">LOGUEARSE MEDIANTE M4F</a></p>
	</sec:authorize>
	
	<ul id="menu">
 	<!-- put class="selected" in the li tag for the selected page - to highlight which page you're on -->

	<sec:authorize ifAnyGranted="ROLE_USER">
		<li><a href="/app/m4f/info" title='USER INFO'><fmt:message key="userinfo"/></a></li>
	</sec:authorize>
	
	
	</ul>
</div>
